//
//  HttpUrls.h
//  easymarketing
//
//  Created by HailongHan on 14/12/23.
//  Copyright (c) 2014年 cubead. All rights reserved.
//

#ifndef CM_HttpUrls_h
#define CM_HttpUrls_h

#pragma mark - http url 请求地址

#define HTTP_HOST @"http://120.78.71.48:18889/" //欧特斯

//#define HTTP_HOST @"http://127.0.0.1:18889/"

//#define HTTP_HOST @"http://www.hvacapp.com.cn:18889/"

//正式上线服务器

//获取指定产品图片
#define HTTP_GET_ONE_PRODUCT_PICTURE @"%@%@"

#define HTTP_POST_USER_LOGIN @"api/user/login"

/** 项目相关 */
#define HTTP_POST_PROJECT_NEW @"api/project/new"

#define HTTP_POST_PROJECT_EDIT @"api/project/edit"

#define HTTP_GET_PROJECT_INFO @"api/project/info"

#define HTTP_POST_PROJECT_CONFIG @"api/project/config"

#define HTTP_POST_PROJECT_CONFIG_APPLY @"api/project/config/apply"

#define HTTP_GET_PROJECT_LIST_ALL @"api/project/list/all"

#define HTTP_GET_PROJECT_DELETE @"api/project/delete"

#define HTTP_GET_PROJECT_LIST_SEARCH @"api/project/list/search"

#define HTTP_GET_PROJECT_ROOMS_TEMPLATE @"api/project/rooms/template"

#define HTTP_GET_PROJECT_ROOMS_TEMPLATE_APPLY @"api/project/rooms/template/apply"

#define HTTP_POST_PROJECT_ROOMS_ADD @"api/project/rooms/add"

#define HTTP_GET_PROJECT_ROOMS_DELETE @"api/project/rooms/delete"

#define HTTP_GET_PROJECT_ROOMS_ALL_TYPE @"api/project/rooms/all/type"

#define HTTP_POST_PROJECT_ROOMS_EDIT @"api/project/rooms/edit"

#define HTTP_GET_PROJECT_ROOMS_FCU_ADD @"api/project/rooms/fcu/add"

#define HTTP_GET_PROJECT_ROOMS_PIPE_COUNT @"api/project/rooms/pipe/count"

#define HTTP_GET_PROJECT_ROOMS_FCU_DELETE @"api/project/rooms/fcu/delete"

#define HTTP_GET_PROJECT_ROOMS_FCU_COUNT @"api/project/rooms/fcu/count"

//#define HTTP_GET_PROJECT_MAIN_EQUIP_INIT @"project/main/equip/init"

#define HTTP_GET_PROJECT_MAIN_EQUIP_COEFF @"api/project/main/equip/coeff"

#define HTTP_GET_PROJECT_MAIN_EQUIP_ADD @"api/project/main/equip/add"

#define HTTP_GET_PROJECT_MAIN_EQUIP_COUNT @"api/project/main/equip/count"

#define HTTP_GET_PROJECT_MAIN_EQUIP_SYSTEM_ADD @"api/project/main/equip/system/add"

#define HTTP_GET_PROJECT_MAIN_EQUIP_SYSTEMS @"api/project/main/equip/systems"

#define HTTP_GET_PROJECT_MAIN_EQUIP_DELETE @"api/project/main/equip/delete"

#define HTTP_GET_PROJECT_MAIN_EQUIP_SYSTEM_DELETE @"api/project/main/equip/system/delete"

#define HTTP_GET_PROJECT_MAIN_EQUIP_ROOM_MODIFY @"api/project/main/equip/room/modify"


#define HTTP_GET_PROJECT_QRJHQ_SYSTEM_AREA @"api/project/qrjhq/system/area"

#define HTTP_GET_PROJECT_QRJHQ_SYSTEM_ADD @"api/project/qrjhq/system/add"

#define HTTP_GET_PROJECT_QRJHQ_SYSTEM_EQUIP_SET @"api/project/qrjhq/system/equip/set"

#define HTTP_GET_PROJECT_QRJHQ_SYSTEM_EQUIP_COUNT @"api/project/qrjhq/system/equip/count"

#define HTTP_GET_PROJECT_QRJHQ_SYSTEM_DELETE @"api/project/qrjhq/system/delete"


#define HTTP_GET_PROJECT_KQNRSJ_SYSTEM_PARAM @"api/project/kqnrsj/system/param"

#define HTTP_GET_PROJECT_KQNRSJ_SYSTEM_DELETE @"api/project/kqnrsj/system/delete"

#define HTTP_GET_PROJECT_KQNRSJ_SYSTEM_ADD @"api/project/kqnrsj/system/add"

#define HTTP_GET_PROJECT_KQNRSJ_SYSTEM_EQUIP_SET @"api/project/kqnrsj/system/equip/set"

#define HTTP_GET_PROJECT_KQNRSJ_SYSTEM_EQUIP_COUNT @"api/project/kqnrsj/system/equip/count"


#define HTTP_GET_PROJECT_WATER_CLEANER_EQUIP_SET @"api/project/water/cleaner/equip/set"

#define HTTP_GET_PROJECT_WATER_CLEANER_EQUIP_DELETE @"api/project/water/cleaner/equip/delete"

#define HTTP_GET_PROJECT_WATER_CLEANER_EQUIP_COUNT @"api/project/water/cleaner/equip/count"


#define HTTP_POST_PROJECT_IMAGE_UPLOAD @"api/project/image/upload"

#define HTTP_POST_PROJECT_IMAGE_BATCH_UPLOAD @"api/project/image/batch/upload"

#define HTTP_GET_PROJECT_IMAGE_SET @"api/project/image/set"

#define HTTP_GET_PROJECT_REPORT @"api/project/report"

/** 产品相关 */
#define HTTP_GET_EQUIP_FCU_QUERY @"api/equip/fcu/query"

#define HTTP_GET_EQUIP_DETAIL @"api/equip/detail"

#define HTTP_GET_EQUIP_QUERY @"api/equip/query"

#define HTTP_GET_EQUIP_SERIES_QUERY @"api/equip/series/query"





/** 集中采暖项目相关 */
#define HTTP_GET_HEAT_PROJECT_LIST_ALL @"api/heat/project/list/all"

#define HTTP_GET_HEAT_PROJECT_LIST_SEARCH @"api/heat/project/list/search"

#define HTTP_GET_HEAT_PROJECT_DELETE @"api/heat/project/delete"

#define HTTP_GET_HEAT_PROJECT_INFO @"api/heat/project/info"

#define HTTP_POST_HEAT_PROJECT_NEW @"api/heat/project/new"

#define HTTP_POST_HEAT_PROJECT_UPDATE @"api/heat/project/update"

#define HTTP_POST_HEAT_PROJECT_NAME_CITY_UPDATE @"api/heat/project/name/city/update"

#define HTTP_GET_HEAT_PROJECT_BUILDING_NEW @"api/heat/project/building/new"

#define HTTP_GET_HEAT_PROJECT_BUILDING_DELETE @"api/heat/project/building/delete"

#define HTTP_POST_HEAT_PROJECT_BUILDING_UPDATE @"api/heat/project/building/update"

#define HTTP_GET_HEAT_PROJECT_BUILDING_EQUIP_LIST @"api/heat/project/building/equip/list"

#define HTTP_GET_HEAT_PROJECT_CITY_DATA @"api/heat/project/city/data"

#define HTTP_GET_HEAT_PROJECT_IMAGE_SET @"api/heat/project/image/set"

#define HTTP_HEAT_GET_PROJECT_REPORT @"api/heat/project/report"


/** 设置相关 */
#define HTTP_GET_SETTING_INFO @"api/setting/info"

#define HTTP_POST_SETTING_DRPG @"api/setting/drpg"

#define HTTP_POST_SETTING_ROOM @"api/setting/room"

#define HTTP_POST_SETTING_MAIN_EQUIP @"api/setting/main/equip"

#define HTTP_POST_SETTING_PRICE @"api/setting/price"



//获取HTML格式的项目报告
#define HTTP_GET_PROJECT_HTML_REPORT @"http://120.78.71.48/Outes/PriceReport.svc/PdfReport?ProjectId=%@&token=%@&UserId=%@"







#define HTTP_GET_RESOURCE_CHECK @"resource/check"

//注册
#define HTTP_POST_REGISTER @"3.0/createuser.svc/createuser"


//修改用户信息
#define HTTP_POST_USER_INFO @"3.0/modifyuser.svc"

//获取当前登录用户的所有子用户信息
#define HTTP_GET_USER_PROFILE @"3.0/getuserprofile.svc/userprofile"

//获取当前登录用户的所有子用户信息
#define HTTP_GET_ALL_CHILD_USERS @"3.0/getuserprofile.svc/childuserprofiles"

//获取当前登录用户的所有子用户信息
#define HTTP_GET_ALL_CHILD_USERS_BY_TYPE @"3.0/getuserprofile.svc/childuserprofiles2"

//获取所有大区管理员用户信息
#define HTTP_GET_ALL_ADMINISTRATOR_USERS @"3.0/getuserprofilesbyrole.svc/managers"

//获取所有分公司管理员用户信息
#define HTTP_GET_ALL_BRANCH_ADMINISTRATOR_USERS @"3.0/getuserprofilesbyrole.svc/branchmanagers"

//认证用户
#define HTTP_GET_APPROVE_USER @"3.0/approveuser.svc"

//用户是否存在
#define HTTP_GET_ISUSEREXIST @"3.0/createuser.svc/isuserexist"

//登陆
#define HTTP_POST_LOGIN @"3.0/Login.svc"

//登陆
#define HTTP_POST_FORGET_PASSWORD @"3.0/Login.svc/forgetpassword"

//获取所有国家列表
#define HTTP_GET_NATIONS @"3.0/citymanager.svc/allnations"

//获取所有国家列表
#define HTTP_GET_DEFAULT_NATION @"3.0/citymanager.svc/defaultnation"

//获取所有省份列表
#define HTTP_GET_PROVINCES @"3.0/citymanager.svc/allprovinces"

//获取所有城市列表
#define HTTP_GET_CITYS @"3.0/citymanager.svc/allcities"

//获取所有分公司列表
#define HTTP_GET_BRANCHCOMPANYS @"3.0/getuserprofilesbyrole.svc/branchcompanys"

//获取指定分公司列表下的经销商
#define HTTP_GET_RESELLER @"3.0/getuserprofilesbyrole.svc/resellers"

//根据关键词搜索上级公司
#define HTTP_GET_SEARCH_PARENT_COMPANY @"3.0/getuserprofilesbyrole.svc/search"

//获取分公司和经销商列表
#define HTTP_GET_ALL_COMPANYS @"3.0/getuserprofilesbyrole.svc/branchcompanysandresellers"

//获取城市名对应的GUID citymanager.svc/cityid?cn={cityName}
#define HTTP_GET_CITY_GUID @"3.0/citymanager.svc/cityid"

//获取指定城市 citymanager.svc/city?cid={cityId}
#define HTTP_GET_CITY @"3.0/citymanager.svc/city"

//获取所有房间类型
#define HTTP_GET_ALL_ROOMTYPES @"3.0/citymanager.svc/roomtypes"

//获取产品数据库版本
#define HTTP_GET_PRODUCTS_VERSION @"3.0/productsearch.svc/productdbversion"

//获取所有产品
#define HTTP_GET_ALL_PRODUCTS @"3.0/productsearch.svc/allproducts"

//搜索产品
#define HTTP_GET_SEARCH_PRODUCTS @"3.0/productsearch.svc"

//获取指定产品详细信息
#define HTTP_GET_ONE_PRODUCT_DETAIL @"3.0/productsearch.svc/product"

//获取所有项目
#define HTTP_GET_ALL_PROJECTS @"3.0/projectmanager.svc/projects"

//获取所有子项目
#define HTTP_GET_ALL_SUB_PROJECTS @"3.0/projectmanager.svc/childuserprojects"

//创建项目
#define HTTP_PUT_CREATE_PROJECT @"3.0/projectmanager.svc/project"

//通过guid获得指定的项目
#define HTTP_GET_PROJECT_BY_GUID @"3.0/projectmanager.svc/project"

//修改指定项目信息
#define HTTP_POST_PROJECT_INFO @"3.0/projectmanager.svc/project"

//删除项目
#define HTTP_DELETE_PROJECT @"3.0/projectmanager.svc/project"

//获取项目的所有模板
#define HTTP_GET_PROJECT_TEMPLATE @"3.0/projectmanager.svc/allprojecttemplate"

//设置项目的模板
#define HTTP_GET_SET_PROJECT_TEMPLATE @"3.0/projectmanager.svc/projecttemplate"

//获取审核或者未审核项目
#define HTTP_GET_APPROVED_PROJECTS @"3.0/projectmanager.svc/reviewprojects"

//审核项目
#define HTTP_GET_APPROVE_PROJECT @"3.0/projectmanager.svc/reviewproject"

//获取产品系列列表
#define HTTP_GET_PRODUCT_SERIES @"3.0/productsearch.svc/productxls"

//获取产品系列是否可以选择
#define HTTP_GET_PRODUCT_SERIES_ENABLE @"3.0/projectmanager.svc/enablexl"

//设置产品系列是否可以选择
#define HTTP_POST_PRODUCT_SERIES_ENABLE_SETTING @"3.0/projectmanager.svc/enablexl"

//获取项目选择的产品系列
#define HTTP_GET_PROJECT_PRODUCT_SERIES @"3.0/projectmanager.svc/xl"

//设置项目选择的产品系列
#define HTTP_POST_PROJECT_PRODUCT_SERIES @"3.0/projectmanager.svc/xl"

//通过产品系列获得产品型式
#define HTTP_GET_PROJECT_PRODUCT_XS_BY_XL @"3.0/productsearch.svc/productxss"

//通过产品系列获得产品型号
#define HTTP_GET_PROJECT_PRODUCT_BY_XL @"3.0/productsearch.svc/productsbyxl"

//通过产品型式获得产品型号
#define HTTP_GET_PROJECT_PRODUCT_BY_XS @"3.0/productsearch.svc/productsbyxs"

//获取产品系列下的型式列表
#define HTTP_GET_PROJECT_SERIES_XS @"3.0/productsearch.svc/productxss"

//修改项目选择的产品系列
#define HTTP_POST_PROJECT_PRODUCT_SERIES @"3.0/projectmanager.svc/xl"

//获取指定项目的所有房间
#define HTTP_GET_PROJECT_ALL_ROOMS @"3.0/projectmanager.svc/rooms"

//获取指定项目的某一个房间信息
#define HTTP_GET_PROJECT_ROOM @"3.0/projectmanager.svc/room"

//添加一个房间到指定项目
#define HTTP_PUT_PROJECT_ROOM @"3.0/projectmanager.svc/room"

//修改一个房间
#define HTTP_POST_PROJECT_ROOM @"3.0/projectmanager.svc/room"

//删除一个房间
#define HTTP_DELETE_PROJECT_ROOM @"3.0/projectmanager.svc/room"

//获取室内所有设备
#define HTTP_GET_ROOM_ALL_MACHINE @"3.0/projectmanager.svc/indoorequips"

//根据选型值匹配设备2
#define HTTP_GET_DEFAULT_MACHINE2 @"3.0/productsearch.svc/productbyxsvalue"

//根据选型值匹配设备1
#define HTTP_GET_DEFAULT_MACHINE1 @"3.0/productsearch.svc/productbyxlvalue"


//获取指定的设备信息
#define HTTP_GET_ROOM_MACHINE @"3.0/projectmanager.svc/indoorequip"

//添加一个房间内设备
#define HTTP_PUT_ROOM_MACHINE @"3.0/projectmanager.svc/indoorequip"

//修改一个房间内设备
#define HTTP_POST_ROOM_MACHINE @"3.0/projectmanager.svc/indoorequip"

//删除一个房间内设备
#define HTTP_DELETE_ROOM_MACHINE @"3.0/projectmanager.svc/indoorequip"

//获取负荷指标数据
#define HTTP_GET_FACTOR_DATA @"3.0/citymanager.svc/loadfactorbyroomname"

//获取项目中所有的室外机配置信息
#define HTTP_GET_PROJECT_SWJINFO @"3.0/projectmanager.svc/swjinfos"

//获取项目中指定的室外机配置信息
#define HTTP_GET_PROJECT_ONE_SWJINFO @"3.0/projectmanager.svc/swjinfo"

//添加一套室外机配置信息
#define HTTP_PUT_PROJECT_ONE_SWJINFO @"3.0/projectmanager.svc/swjinfo"

//修改一套室外机配置信息
#define HTTP_POST_PROJECT_ONE_SWJINFO @"3.0/projectmanager.svc/swjinfo"

//删除一套室外机配置信息
#define HTTP_DELETE_PROJECT_ONE_SWJINFO @"3.0/projectmanager.svc/swjinfo"

//获取项目中所有的配置信息
#define HTTP_GET_PROJECT_QRJHQ @"3.0/projectmanager.svc/qrjhqinfos"

//获取项目中指定的配置信息
#define HTTP_GET_ONE_PROJECT_QRJHQ @"3.0/projectmanager.svc/qrjhqinfo"

//添加一套配置信息
#define HTTP_PUT_PROJECT_ONE_QRJHQ @"3.0/projectmanager.svc/qrjhqinfo"

//修改一套配置信息
#define HTTP_POST_PROJECT_ONE_QRJHQ @"3.0/projectmanager.svc/qrjhqinfo"

//删除一套配置信息
#define HTTP_DELETE_PROJECT_ONE_QRJHQ @"3.0/projectmanager.svc/qrjhqinfo"

//获取项目中所有的空气能热水机配置信息
#define HTTP_GET_PROJECT_KQNRSJ @"3.0/projectmanager.svc/kqnrsjinfos"

//获取项目中指定的空气能热水机配置信息
#define HTTP_GET_ONE_PROJECT_KQNRSJ @"3.0/projectmanager.svc/kqnrsjinfo"

//添加一套空气能热水机配置信息
#define HTTP_PUT_PROJECT_ONE_KQNRSJ @"3.0/projectmanager.svc/kqnrsjinfo"

//修改一套空气能热水机配置信息
#define HTTP_POST_PROJECT_ONE_KQNRSJ @"3.0/projectmanager.svc/kqnrsjinfo"

//删除一套空气能热水机配置信息
#define HTTP_DELETE_PROJECT_ONE_KQNRSJ @"3.0/projectmanager.svc/kqnrsjinfo"

//获取所有设备价格信息
#define HTTP_GET_PROJECT_ALL_DEVICE_PRICE @"3.0/projectmanager.svc/equipprices"

//获取指定设备价格信息
#define HTTP_GET_PROJECT_ONE_DEVICE_PRICE @"3.0/projectmanager.svc/equipprice"

//修改指定设备价格信息
#define HTTP_POST_PROJECT_ONE_DEVICE_PRICE @"3.0/projectmanager.svc/equipprice"

//获取所有的公告信息
#define HTTP_GET_ALL_NOTICES @"3.0/postmanager.svc"

//获取未读公告数量
#define HTTP_GET_UNREAD_NOTICES @"3.0/postmanager.svc/unreadpost"

//阅读了一条公告信息
#define HTTP_GET_VIEW_NOTICE @"3.0/postmanager.svc/view"

//发布一条公告信息
#define HTTP_POST_ONE_NOTICE @"3.0/postmanager.svc"

//删除一条公告信息
#define HTTP_DELETE_ONE_NOTICE @"3.0/postmanager.svc"

//获取HTML格式的项目报告
#define HTTP_GET_PROJECT_HTMLREPORT @"3.0/projectmanager.svc/htmlreport"

//获取厂家介绍资源
#define HTTP_GET_MANUFACTURE_DOC @"3.0/ResourceManager.svc/manufactureurl"

//获取产品系列资源
#define HTTP_GET_PRODUCT_DOC @"3.0/resourcemanager.svc/producturl"

//获取样板工程资源
#define HTTP_GET_DEMO_PROJECT @"3.0/resourcemanager.svc/sampleprojecturl"

//获取施工动画资源
#define HTTP_GET_DEMO_ANIMATION @"3.0/resourcemanager.svc/animationurl"

//获取所有的统计模板
#define HTTP_GET_ALL_STATISTICS_DATA @"3.0/statistic.svc/allstatistictemplate"

//获取统计结果
#define HTTP_GET_STATISTICS_RESULTS @"3.0/statistic.svc/htmlreport"

//获取所有意见
#define HTTP_GET_ALL_SUGGESTION @"3.0/suggestionmanager.svc"

//阅读意见
#define HTTP_GET_VIEW_ONE_SUGGESTION @"3.0/suggestionmanager.svc/view"

//删除意见
#define HTTP_DELETE_ONE_SUGGESTION @"3.0/suggestionmanager.svc"

//获取未读意见数量
#define HTTP_GET_UNREAD_SUGGESTIONS @"3.0/suggestionmanager.svc/unreadsuggestion"

//室内机自动选型
#define HTTP_GET_SNJ_DEFAULT_DEVICE @"3.0/projectmanager.svc/snjequip"

//轻型商用空调自动选型
#define HTTP_GET_QXSYKT_DEFAULT_DEVICE @"3.0/projectmanager.svc/qxsyktequip"

//给所有房间自动选型室内机
#define HTTP_GET_PROJECT_ALL_ROOMS_AUTO_SNJ @"3.0/projectmanager.svc/allroomsnjequip"

//给所有房间自动选型轻型商用空调
#define HTTP_GET_PROJECT_ALL_ROOMS_AUTO_QXSYKT @"3.0/projectmanager.svc/allroomqxsyktequip"

//室外机自动选型
#define HTTP_GET_SWJ_DEFAULT_DEVICE @"3.0/projectmanager.svc/swjequip"

//空气能热水机自动选型
#define HTTP_GET_KQNRSJ_DEFAULT_DEVICE @"3.0/projectmanager.svc/kqnrsjequip"

//自动选型
#define HTTP_GET_QRJHQ_DEFAULT_DEVICE @"3.0/projectmanager.svc/qrjhqequip"


//功能介绍的url
#define HTTP_FUNCTIONARY_INTRODUCE @"http://localhost:8889/images/FCU/Specification/1.pdf"


#endif
